<titlemenu></titlemenu>
<div class="dj-card">
    <div class="dj-body" activate-input>
        <form role="form" name="editForm1" novalidate>
            <div class="dj-formtable">
                <table class="dj-table"> 
                    <tr>
                        <th><span style="color:red;">*</span>所属党总支</th>
                        <td>
                            <input type="text" name="changevm.dzzmc" ng-model="changevm.dzzmc" readonly
                                   class="form-control"/>
                        </td>
                        <th><span style="color:red;">*</span>会议名称</th>
                        <td ng-class="{ 'has-error' : this.editForm1.meetingname.$invalid &&  this.editForm1.$submitted}">
                            <input type="text" name="meetingname" ng-model="changevm.meetingname" class="form-control"
                                   ng-required="true"/>
                            <span ng-show="this.editForm1.meetingname.$invalid &&  this.editForm1.$submitted"
                                  class="error">请填写会议名称</span>
                        </td>
                    </tr>
                    <tr>
                        <th><span style="color:red;">*</span>地点</th>
                        <td ng-class="{ 'has-error' : this.editForm1.location.$invalid &&  this.editForm1.$submitted}">
                            <input type="text" name="location" ng-model="changevm.location" class="form-control"
                                   ng-required="true"/>
                            <span ng-show="this.editForm1.location.$invalid &&  this.editForm1.$submitted"
                                  class="error">请填写地点</span>
                        </td>
                        <th><span style="color:red;">*</span>会议时间</th>
                        <td ng-class="{ 'has-error' : this.editForm1.meetingdate.$invalid &&  this.editForm1.$submitted}">
                            <input type="text" name="meetingdate" ng-model="changevm.meetingdate"
                                   class="form-control"
                                   format="yyyy-mm-dd"
                                   data-min-view="0" bs-datepicker
                                   ng-required="true"/>
                            <span ng-show="this.editForm1.meetingdate.$invalid &&  this.editForm1.$submitted"
                                  class="error">请选择会议时间</span>
                        </td>
                    </tr>

                    <tr>
                        <th><span style="color:red;">*</span>记录人</th>
                        <td colspan="3"
                            ng-class="{ 'has-error' : this.editForm1.hostUserName.$invalid &&  this.editForm1.$submitted}">
                            <div class="input-group input-group-search" title="选择记录人">
                                <div class="input-group input-group-search"
                                     data-dataoptions="selectRecordUserlist"
                                     title="选择成员" bsselectdata-pro>
                                    <input name="recordUserName" type="text"
                                           ng-model="selectRecordUserlist.selectedLabeData"
                                           class="form-control" ng-required="true"
                                           ng-required="true"/>
                                    <span class="input-group-addon"><i class="material-icons">search</i></span>
                                </div>
                            </div>
                            <span ng-show="this.editForm1.recordUserName.$invalid &&  this.editForm1.$submitted"
                                  class="error">请选择主持人</span>
                        </td>
                    </tr>
                    <tr>
                        <th><span style="color:red;">*</span>主持人</th>
                        <td colspan="3">
                            <div class="input-group input-group-search" title="选择主持人">
                                <div class="input-group input-group-search"
                                     data-dataoptions="selectHostUserlist"
                                     title="选择成员" bsselectdata-pro>
                                    <input name="hostUserName" type="text" ng-model="selectHostUserlist.selectedLabeData"
                                           class="form-control"
                                           ng-required="true"/>
                                    <span class="input-group-addon"><i class="material-icons">search</i></span>
                                </div>
                            </div>
                            <span ng-show="this.editForm1.hostUserName.$invalid &&  this.editForm1.$submitted"
                                  class="error">请选择主持人</span>
                        </td>
                    </tr>
                    <tr>
                        <th><span style="color:red;">*</span>出席人员</th>
                        <td colspan="3">
                            <div class="input-group input-group-search" title="选择出席人员">
                                <div class="input-group input-group-search"
                                     data-dataoptions="selectAttendUserlist"
                                     title="选择成员" bsselectdata-pro>
                                    <input name="attendUserName" type="text" ng-model="selectAttendUserlist.selectedLabeData"
                                           class="form-control"  ng-required="true"/>
                                    <span class="input-group-addon"><i class="material-icons">search</i></span>
                                </div>
                            </div>
                            <span ng-show="this.editForm1.attendUserName.$invalid &&  this.editForm1.$submitted"
                                  class="error">请选择出席人员</span>
                        </td>
                    </tr>
                    <tr>
                        <th>缺席人员</th>
                        <td colspan="3">
                            <div class="input-group input-group-search" title="选择缺席人员">
                                <div class="input-group input-group-search"
                                     data-dataoptions="selectAbsentUserlist"
                                     title="选择成员" bsselectdata-pro>
                                    <input name="absentUserName" type="text" ng-model="selectAbsentUserlist.selectedLabeData"
                                           class="form-control"/>
                                    <span class="input-group-addon"><i class="material-icons">search</i></span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <th>列席人员</th>
                        <td colspan="3">
                            <div class="input-group input-group-search" title="选择列席人员">
                                <div class="input-group input-group-search"
                                     data-dataoptions="selectLiexiUserlist"
                                     title="选择成员" bsselectdata-pro>
                                    <input name="liexiUserName" type="text" ng-model="selectLiexiUserlist.selectedLabeData"
                                           class="form-control"/>
                                    <span class="input-group-addon"><i class="material-icons">search</i></span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <th>讨论议题</th>
                        <td colspan="3">
                                <textarea class="form-control" name="topics" ng-model="changevm.topics"
                                          rows="5"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td colspan="3">
                                <textarea class="form-control" name="remark" ng-model="changevm.remark"
                                          rows="3"></textarea>
                        </td>
                    </tr>
                </table>
            </div>
            <bsfiles ng-model="reqFileModel"/>
            <div class="form_foot">
                <button type="button" class="btn btn-default" ng-click="pagechange();">取消</button>
                <button type="submit" class="btn btn-primary" ng-click="submitData(this.editForm1.$valid)">提交
                </button>
            </div>
        </form>
    </div>
</div>
